import React from "react";
import { Button } from "antd";
import { useRefContext } from "./provider";
const firstPage = ({ setNumber }) => {
    const { name, type, size } = useRefContext()
    console.log(name, type, size);
    
    return <Button onClick={() => setNumber(2)}>{'下一步'}</Button>
}

export default firstPage